package com.epi.basic.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author dxy
 * @version 1.0
 */
@ConfigurationProperties(prefix = "app.my-config")
@Configuration
@Setter
@Getter
public class MyConfig {
    private String apiKey;
    private int timeout;
}